package com.siyuan.blog.service.system.impl;

import com.siyuan.blog.common.base.impl.SuperServiceImpl;
import com.siyuan.blog.service.system.ResourcesService;
import com.siyuan.blog.dao.system.ResourcesMapper;
import com.siyuan.blog.domain.system.Resources;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ResourcesServiceImpl extends SuperServiceImpl<ResourcesMapper,Resources> implements ResourcesService {

    @Override
    public List<String> findCodeListByRole(Integer roleId) {
        return baseMapper.findCodeListByRole(roleId);
    }
}
